package com.md.common.enums;

/**
 * 功能描述：商品套图尺寸
 *
 * @author lujianping@oak168.com
 * @version 1.0
 * @date 2018-7-4 11:51
 * @since JDK 1.8
 */
public enum GoodsPicPixEnum {

    ORIGINAL(0, 800, 600, "原图"),
    BIG(1, 500, 500, "大"),
    SMALL(2, 200, 200, "小"),
    TINY(3, 100, 100, "微小")
    ;

    private int code;
    private int width;
    private int heght;
    private String desc;

    GoodsPicPixEnum(int code, int width, int heght, String desc) {
        this.code = code;
        this.width = width;
        this.heght = heght;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public int getWidth() {
        return width;
    }

    public int getHeght() {
        return heght;
    }

}
